home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / MiscListSorting.h < prev    next >
Encoding:
Text File  |  1995-07-06  |  706 b   |  31 lines

  1. /*--------------------------------------------------------------------------
  2.  *     Category
  3.  *
  4.  *     Category Of:    List
  5.  *
  6.  *     Declared In:    MiscListSorting.h
  7.  *
  8.  *     Category Description
  9.  *
  10.  *     <<Documentation>>
  11.  *
  12.  *
  13.  *
  14.  *     $Log$
  15.  *
  16.  * Copyright (C) 1995 Vince Demarco, vdemarco@bou.shl.com
  17.  * Use is governed by the MiscKit license
  18.  *--------------------------------------------------------------------------*/
  19. #import <objc/List.h>
  20.  
  21.  
  22.  
  23.  
  24. @interface List (MiscListSorting)
  25. - swap:(unsigned int)pos with:(unsigned int)pos2;
  26.     /* -1,0,1 lessThan,Equal,GreaterThan */
  27. - (int)compareUsing: (SEL)aSelector
  28.       objectAt: (unsigned int) pos1: (unsigned int)pos2;
  29. - sortUsing:(SEL)aSelector ascending:(BOOL)aBool;
  30. @end
  31.